package demo1;

public class test1 {

    public static void main(String[] args) {
        int num1=10;
        int num2=0;
        int ret= 0;
        try {
            ret = num1/num2;
        } catch (Exception e) {
            //e.printStackTrace();
            System.out.println(e.getMessage());
            //throw new RuntimeException(e);
        }
        System.out.println(ret);
    }

    public static void main2(String[] args) {
        String s1="abs";
        String s2="abc";
        System.out.println(s1.equals(s2));
        System.out.println(s1==s2);
    }


    public static void main1
            (String[] args) {
        String name="jack";
    }
}
